package org.dicr.util.data.exc;


/**
 * Duplicate sata exception
 * 
 * @author <A href='http://dicr.org'>Igor A Tarasov</A.
 * @version 060515
 */
public class DuplicateException extends DataException {
	private static final long serialVersionUID = -8710428980948157588L;

	/**
	 * Constructor
	 */
	public DuplicateException() {
		super("Data Exception");
	}

	/**
	 * Constructor
	 * 
	 * @param message
	 */
	public DuplicateException(String message) {
		super(message);
	}

	/**
	 * Constructor
	 * 
	 * @param message
	 * @param cause
	 */
	public DuplicateException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * Constructor
	 * 
	 * @param cause
	 */
	public DuplicateException(Throwable cause) {
		super(cause);
	}

	/**
	 * Constructor
	 * 
	 * @param name
	 * @param value
	 */
	public DuplicateException(String name, Object value) {
		super("duplicate " + name + "=" + value);
	}
}
